package com.yegs.jltqc.service;

import com.yegs.jltqc.TO.NamePageQuery;
import com.yegs.jltqc.VO.Complaint;
import com.yegs.jltqc.VO.OutCome;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ComplaintService {

    Complaint save(Complaint complaint);

    List<Complaint> list();

    Complaint get(Long id);


    Long getNext(Long id);

    Long getLast(Long id);

    void del(Long id);

    Page<Complaint> query(NamePageQuery query);
}
